local wm_xiongmeng = fk.CreateSkill {
  name = "wm_xiongmeng",
  tags = { Skill.Compulsory, },
}


wm_xiongmeng:addEffect(fk.TargetSpecifying, {
  anim_type = "support",
  can_trigger = function(self, event, target, player, data)
    return player:hasSkill(wm_xiongmeng.name) and target == player and data.card.trueName == "slash"
  end,
  on_use = function(self, event, target, player, data)
    -- data.additionalEffect = (data.additionalEffect or 0) + 1
    if player:usedCardTimes("slash",Player.HistoryPhase) == 1 then
      data.disresponsive = true
    else
      data.additionalDamage = (data.additionalDamage or 0) + 1
    end
  end,
})


return wm_xiongmeng